import { createRouter, createWebHistory } from 'vue-router'
import MyCustomHome from '../views/Home.vue'
import KnowledgeUpsertView from '../views/knowledgeUpsert.vue'
import SportAnalysisView from '../views/sportAnalysis.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: MyCustomHome
    },
    {
      path: '/knowledge',
      name: 'knowledgeUpsert',
      component: KnowledgeUpsertView
    },
    {
      path: '/sport',
      name: 'sportAnalysis',
      component: SportAnalysisView
    }
  ]
})

export default router